﻿
Namespace configNaming
    Namespace urlhandlers
        Public Module urlhandlers
            Public Const name As String = "urlhandlers"
            Public Const port As String = "port"
            Public Const enableCounter As String = "enableCounter"
            Public Const enableRedirector As String = "enableRedirector"
            Public Const enableReloader As String = "enableReloader"
            Public Const enableSnapshot As String = "enableSnapshot"
            Public Const enableUrlShorten As String = "enableUrlShorten"
            Public Const enableTimenow As String = "enableTimenow"
            Public Const enableHomepage As String = "enableHomepage"
        End Module
    End Namespace

    Namespace counter
        Public Module counter
            Public Const name As String = "counter"
            Public Const storoomhost As String = "storoomhost"
            Public Const storoomport As String = "storoomport"
            Public Const storoomretrytimes As String = "storoomretrytimes"
            Public Const adminlink As String = "adminlink"
        End Module
    End Namespace

    Namespace urlshorten
        Public Module urlshorten
            Public Const name As String = "urlshorten"
            Public Const storoomhost As String = "storoomhost"
            Public Const storoomport As String = "storoomport"
            Public Const storoomretrytimes As String = "storoomretrytimes"
            Public Const randomKeyLength As String = "randomKeyLength"
        End Module
    End Namespace

    Namespace defaultValue
        Namespace urlhandlers
            Public Module urlhandlers
                Public Const port As Int32 = 80
                Public Const enableCounter As Boolean = True
                Public Const enableRedirector As Boolean = True
                Public Const enableReloader As Boolean = True
                Public Const enableSnapshot As Boolean = True
                Public Const enableHomepage As Boolean = True
                Public Const enableTimenow As Boolean = True
                Public Const enableUrlShorten As Boolean = True
            End Module
        End Namespace

        Namespace counter
            Public Module counter
                Public Const storoomhost As String = "localhost"
                Public Const storoomport As Int32 = 43341
                Public Const storoomretrytimes As Int64 = 128
                Public Const adminlink As String = "http://www.hzj-jie.net/"
            End Module
        End Namespace

        Namespace urlshorten
            Public Module urlshorten
                Public Const storoomhost As String = "localhost"
                Public Const storoomport As Int32 = 43341
                Public Const storoomretrytimes As Int64 = 128
                Public Const randomKeyLength As Int32 = 6
            End Module
        End Namespace
    End Namespace
End Namespace
